<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%>
<div class="span2">
  <div class="well">
    <ul class="nav nav-list">
      <c:forEach var="menu" items="${menuList}">
        <c:if test="${roleId>=menu.roleId}">
          <c:choose>
            <c:when test="${menu.main==true}">
              <li class="nav-header"><c:out value="${menu.name}" /></li>
            </c:when>
            <c:otherwise>
              <li
                class="<c:if test="${pageId==menu.toString()}">active </c:if>font"><a
                href="<c:out value="${menu.url}" />"><c:out
                    value="${menu.name}" /></a></li>
            </c:otherwise>
          </c:choose>
        </c:if>
      </c:forEach>
    </ul>
  </div>
  <!--/.well -->
</div>